package com.school.entity;

import java.util.Date;

public class OrderItem {
    private Long orderItemId;
    private Long orderId;
    private Long seckillId;
    private Long goodsId;
    private String goodsName;
    private String goodsCoverImg;
    private Integer sellingPrice;
    private Integer goodsCount;
    private Date createTime;

    public OrderItem() {
    }

    public OrderItem(Long orderItemId, Long orderId, Long seckillId, Long goodsId, String goodsName, String goodsCoverImg, Integer sellingPrice, Integer goodsCount, Date createTime) {
        this.orderItemId = orderItemId;
        this.orderId = orderId;
        this.seckillId = seckillId;
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsCoverImg = goodsCoverImg;
        this.sellingPrice = sellingPrice;
        this.goodsCount = goodsCount;
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return orderItemId
     */
    public Long getOrderItemId() {
        return orderItemId;
    }

    /**
     * 设置
     * @param orderItemId
     */
    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    /**
     * 获取
     * @return orderId
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置
     * @param orderId
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取
     * @return seckillId
     */
    public Long getSeckillId() {
        return seckillId;
    }

    /**
     * 设置
     * @param seckillId
     */
    public void setSeckillId(Long seckillId) {
        this.seckillId = seckillId;
    }

    /**
     * 获取
     * @return goodsId
     */
    public Long getGoodsId() {
        return goodsId;
    }

    /**
     * 设置
     * @param goodsId
     */
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取
     * @return goodsName
     */
    public String getGoodsName() {
        return goodsName;
    }

    /**
     * 设置
     * @param goodsName
     */
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    /**
     * 获取
     * @return goodsCoverImg
     */
    public String getGoodsCoverImg() {
        return goodsCoverImg;
    }

    /**
     * 设置
     * @param goodsCoverImg
     */
    public void setGoodsCoverImg(String goodsCoverImg) {
        this.goodsCoverImg = goodsCoverImg;
    }

    /**
     * 获取
     * @return sellingPrice
     */
    public Integer getSellingPrice() {
        return sellingPrice;
    }

    /**
     * 设置
     * @param sellingPrice
     */
    public void setSellingPrice(Integer sellingPrice) {
        this.sellingPrice = sellingPrice;
    }

    /**
     * 获取
     * @return goodsCount
     */
    public Integer getGoodsCount() {
        return goodsCount;
    }

    /**
     * 设置
     * @param goodsCount
     */
    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String toString() {
        return "OrderItem{orderItemId = " + orderItemId + ", orderId = " + orderId + ", seckillId = " + seckillId + ", goodsId = " + goodsId + ", goodsName = " + goodsName + ", goodsCoverImg = " + goodsCoverImg + ", sellingPrice = " + sellingPrice + ", goodsCount = " + goodsCount + ", createTime = " + createTime + "}";
    }
}